//-----------------------------------------------------------------------
// <copyright file="a_AgreeToUseBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_AgreeToUseBase
	{
		
		#region Variable Declarations
		private int				agreeID = 0;
		private DateTime				agreeDate = new DateTime(1900,1,1,0,0,0,0);
		private string				cookieID = string.Empty;
		private string				ip = string.Empty;
		private string				agreeDocName = string.Empty;
		private int				orderID = 0;
		private int				domainID = 0;
		private int				userID = 0;
		private bool				isAgreeNewCustomers = false;
		private bool				isAgreeNewOrders = false;
		#endregion
		
		#region Constructors
		public a_AgreeToUseBase() {}
		
		public a_AgreeToUseBase (
			int agreeID,
			DateTime agreeDate,
			string cookieID,
			string ip,
			string agreeDocName,
			int orderID,
			int domainID,
			int userID,
			bool isAgreeNewCustomers,
			bool isAgreeNewOrders)
		
		{
			this.agreeID = agreeID;
			this.agreeDate = agreeDate;
			this.cookieID = cookieID;
			this.ip = ip;
			this.agreeDocName = agreeDocName;
			this.orderID = orderID;
			this.domainID = domainID;
			this.userID = userID;
			this.isAgreeNewCustomers = isAgreeNewCustomers;
			this.isAgreeNewOrders = isAgreeNewOrders;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int AgreeID
		{
			get { return agreeID; }
			set { agreeID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime AgreeDate
		{
			get { return agreeDate; }
			set { agreeDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CookieID
		{
			get { return cookieID; }
			set { cookieID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string IP
		{
			get { return ip; }
			set { ip = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string AgreeDocName
		{
			get { return agreeDocName; }
			set { agreeDocName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int OrderID
		{
			get { return orderID; }
			set { orderID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsAgreeNewCustomers
		{
			get { return isAgreeNewCustomers; }
			set { isAgreeNewCustomers = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsAgreeNewOrders
		{
			get { return isAgreeNewOrders; }
			set { isAgreeNewOrders = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_AgreeToUseColumns
	{
		AgreeID,
		AgreeDate,
		CookieID,
		IP,
		AgreeDocName,
		OrderID,
		DomainID,
		UserID,
		IsAgreeNewCustomers,
		IsAgreeNewOrders
	}//End enum
}